import http from '@/libs/http';
class vip_memberClServer {
    async all(param) {
        let res = await http.get('/vip_member/all', param);
        return res;
    }


    async page(row) {
        let res = await http.post('/vip_member/page', row);
        return res;
    }


    async exportCsv(row) {
        let res = http.fileExport("/vip_member/export", row);
        return res;
    }

    async add(row) {
        let res = await http.post('/vip_member/add', row);
        return res;
    }

    async edit(row) {
        let res = await http.post('/vip_member/edit', row);
        return res;
    }

    async del(row) {
        let res = await http.post('/vip_member/del', row);
        return res;
    }
}

const vip_memberServer = new vip_memberClServer();
export default vip_memberServer;
